package com.zy.search.dao;

import org.apache.solr.client.solrj.SolrQuery;

import com.zy.search.pojo.SearchResult;

public interface SearchDao {
	/**
	 * 从solr索引库中查询数据
	 * @param query
	 * @return
	 * @throws Exception
	 */
	public SearchResult search(SolrQuery query) throws Exception;
}
